package com.example.nextstream.models;

import com.baomidou.mybatisplus.annotation.*;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.util.Date;

@TableName("assets_info")
@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString
public class AssetsInfo {

    @TableId(type = IdType.AUTO)
    private Integer assetsId;

    private String assetsName;

    private String assetsIp;

    private Integer assetsPort;

    private String assetsProtocol;

    private String assetsUsername;

    private String assetsPassword;

    private String privateKey;

    private String passphrase;

    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;

    @TableLogic
    private Integer deleted;

}
